

<form nz-form #validateForm="ngForm" (ngSubmit)="submitForm()" nzLayout="horizontal" autocomplete="off">
    <!-- 模态框头部 -->
    <div class="modal-header">
        <div class="modal-title">
            <i class="anticon anticon-medicine-box mr-sm"></i>
            <span *ngIf="entity.id">{{l('Edit')}}</span>
            <span *ngIf="!entity.id">{{l('Create')}}</span>
        </div>
    </div>
    <!-- 模态框内容 -->
    <fieldset>
        <!-- 提示信息 -->
        <!-- <nz-alert nzType="info" nzCloseable [nzShowIcon]="true" nzMessage="l('我想提示点什么内容给你说')"></nz-alert> -->
            <nz-form-item nz-row>
                    <nz-form-label nz-col [nzSm]="6" [nzXs]="24" nzRequired nzFor="station_ID">{{l('Station_ID')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="station_ID" #station_ID="ngModel"
                                   [(ngModel)]="entity.station_ID"
                                   [placeholder]="l('Station_ID')"  required >

                            <!-- 校验 -->
                            <nz-form-explain *ngIf="station_ID.control.dirty&&station_ID.control.errors">
                                                                <ng-container *ngIf="station_ID.control.hasError('required')">{{l('CanNotNull')}}</ng-container>
                            </nz-form-explain>

                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Client_ID">{{l('tPass_Client_ID')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Client_ID" #tPass_Client_ID="ngModel"
                                   [(ngModel)]="entity.tPass_Client_ID"
                                   [placeholder]="l('tPass_Client_ID')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label nz-col [nzSm]="6" [nzXs]="24" nzRequired nzFor="tPass_ID">{{l('tPass_ID')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_ID" #tPass_ID="ngModel"
                                   [(ngModel)]="entity.tPass_ID"
                                   [placeholder]="l('tPass_ID')"  required >

                            <!-- 校验 -->
                            <nz-form-explain *ngIf="tPass_ID.control.dirty&&tPass_ID.control.errors">
                                                                <ng-container *ngIf="tPass_ID.control.hasError('required')">{{l('CanNotNull')}}</ng-container>
                            </nz-form-explain>

                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label nz-col [nzSm]="6" [nzXs]="24" nzRequired nzFor="tPass_SNo">{{l('tPass_SNo')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_SNo" #tPass_SNo="ngModel"
                                   [(ngModel)]="entity.tPass_SNo"
                                   [placeholder]="l('tPass_SNo')"  required >

                            <!-- 校验 -->
                            <nz-form-explain *ngIf="tPass_SNo.control.dirty&&tPass_SNo.control.errors">
                                                                <ng-container *ngIf="tPass_SNo.control.hasError('required')">{{l('CanNotNull')}}</ng-container>
                            </nz-form-explain>

                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_IO">{{l('tPass_IO')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <nz-select name="tPass_IO" #tPass_IO="ngModel"
                                       [(ngModel)]="entity.tPass_IO" nzAllowClear
                                       [nzPlaceHolder]="l('tPass_IO')"  style="width: 120px;">
                                <!-- your select option -->
                                <!--
                                <nz-option [nzValue]="0" nzLabel="男"></nz-option>
                                <nz-option [nzValue]="1" nzLabel="女"></nz-option>
                                -->
                                <!-- <nz-option *ngFor="let option of optionList" [nzValue]="option" [nzLabel]="option.label"></nz-option>                    -->
                            </nz-select>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Vdi">{{l('tPass_Vdi')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Vdi" #tPass_Vdi="ngModel"
                                   [(ngModel)]="entity.tPass_Vdi"
                                   [placeholder]="l('tPass_Vdi')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Odi">{{l('tPass_Odi')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Odi" #tPass_Odi="ngModel"
                                   [(ngModel)]="entity.tPass_Odi"
                                   [placeholder]="l('tPass_Odi')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Ddi">{{l('tPass_Ddi')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Ddi" #tPass_Ddi="ngModel"
                                   [(ngModel)]="entity.tPass_Ddi"
                                   [placeholder]="l('tPass_Ddi')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Sdi">{{l('tPass_Sdi')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Sdi" #tPass_Sdi="ngModel"
                                   [(ngModel)]="entity.tPass_Sdi"
                                   [placeholder]="l('tPass_Sdi')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Ldi">{{l('tPass_Ldi')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Ldi" #tPass_Ldi="ngModel"
                                   [(ngModel)]="entity.tPass_Ldi"
                                   [placeholder]="l('tPass_Ldi')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_YCHK">{{l('tPass_YCHK')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_YCHK" #tPass_YCHK="ngModel"
                                   [(ngModel)]="entity.tPass_YCHK" >{{l('tPass_YCHK')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_CCHK">{{l('tPass_CCHK')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_CCHK" #tPass_CCHK="ngModel"
                                   [(ngModel)]="entity.tPass_CCHK" >{{l('tPass_CCHK')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_LCHK">{{l('tPass_LCHK')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_LCHK" #tPass_LCHK="ngModel"
                                   [(ngModel)]="entity.tPass_LCHK" >{{l('tPass_LCHK')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_MCHK">{{l('tPass_MCHK')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_MCHK" #tPass_MCHK="ngModel"
                                   [(ngModel)]="entity.tPass_MCHK" >{{l('tPass_MCHK')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_TCHK">{{l('tPass_TCHK')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_TCHK" #tPass_TCHK="ngModel"
                                   [(ngModel)]="entity.tPass_TCHK" >{{l('tPass_TCHK')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_L_I">{{l('tPass_L_I')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_L_I" #tPass_L_I="ngModel"
                                   [(ngModel)]="entity.tPass_L_I" >{{l('tPass_L_I')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_L_O">{{l('tPass_L_O')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_L_O" #tPass_L_O="ngModel"
                                   [(ngModel)]="entity.tPass_L_O" >{{l('tPass_L_O')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_JC">{{l('tPass_JC')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <label nz-checkbox name="tPass_JC" #tPass_JC="ngModel"
                                   [(ngModel)]="entity.tPass_JC" >{{l('tPass_JC')}}</label>


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Onwer">{{l('tPass_Onwer')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <input nz-input name="tPass_Onwer" #tPass_Onwer="ngModel"
                                   [(ngModel)]="entity.tPass_Onwer"
                                   [placeholder]="l('tPass_Onwer')" >


                </nz-form-control>
            </nz-form-item>
            <nz-form-item nz-row>
                    <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tPass_Pay">{{l('tPass_Pay')}}</nz-form-label>
                <nz-form-control nz-col [nzSm]="14" [nzXs]="24" nzHasFeedback>
                            <nz-select name="tPass_Pay" #tPass_Pay="ngModel"
                                       [(ngModel)]="entity.tPass_Pay" nzAllowClear
                                       [nzPlaceHolder]="l('tPass_Pay')"  style="width: 120px;">
                                <!-- your select option -->
                                <!--
                                <nz-option [nzValue]="0" nzLabel="男"></nz-option>
                                <nz-option [nzValue]="1" nzLabel="女"></nz-option>
                                -->
                                <!-- <nz-option *ngFor="let option of optionList" [nzValue]="option" [nzLabel]="option.label"></nz-option>                    -->
                            </nz-select>


                </nz-form-control>
            </nz-form-item>

    </fieldset>
    <!-- 模态框底部 -->
    <div class="modal-footer">
        <button nz-button [nzType]="'default'" type="button" (click)="close()" [disabled]="saving">
            <i class="anticon anticon-close-circle-o"></i> {{l("Cancel")}}
        </button>
        <button nz-button [nzType]="'primary'" type="submit" [disabled]="!validateForm.form.valid|| saving" [nzLoading]="saving">
            <i class="anticon anticon-save" *ngIf="!saving"></i> {{l("Save")}}
        </button>
    </div>
</form>





